import axios from '@/utils/http'

export function account(params: any) {
  return axios({
    url: '/cart/account',
    method: 'get',
    params: params
  })
}

export function delCart(params: any) {
  return axios({
    url: '/cart/del',
    method: 'get',
    params: params
  })
}
export function addCart(params: any) {
  return axios({
    url: '/cart/add',
    method: 'post',
    params: params
  })
}
export function updCart(params: any) {
  return axios({
    url: '/cart/update',
    method: 'post',
    params: params
  })
}
export function getCartBy(params: any) {
  return axios({
    url: '/cart/getBy',
    method: 'get',
    params: params
  })
}



